html,
body,
#app {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  // background: #f5f5f5;
}

// 修改滚动条样式 美化
* {
  margin: 0;
  padding: 0;

  &::-webkit-scrollbar {
    width: 8px;
    background: #f5f5f5;
    border-radius: 4px;
  }
  &::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 4px;
  }
  &::-webkit-scrollbar-thumb:hover {
    background: #cccccc;
  }
}

div {
  padding: 0;
  margin: 0;
  text-align: left;
}

.edit {
  color: #3c7eff;
  cursor: pointer;
}

.del {
  color: #f56c6c;
  cursor: pointer;
}

.success {
  color: #67c23a;
  cursor: pointer;
}

.pagination {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.margin-right-8 {
  margin-right: 8px;
}

.margin-left-8 {
  margin-left: 8px;
}

.margin-top-8 {
  margin-top: 8px;
}

// .el-input {
//   .el-input__wrapper {
//     border: 1px solid #dee8f9;
//     box-shadow: none !important;
//   }

//   .is-focus {
//     border: 1px solid #3c7eff !important;
//     box-shadow: none !important;
//   }

//   &:hover {
//     .el-input__wrapper {
//       border: 1px solid #3c7eff;
//       box-shadow: none !important;
//     }
//   }
// }

// .el-select {
//   .el-input__wrapper {
//     border: 1px solid #dee8f9;
//     box-shadow: none !important;
//   }

//   .is-focus {
//     border: 0px solid #3c7eff !important;
//     box-shadow: none !important;
//   }

//   &:hover {
//     .el-input__wrapper {
//       border: 1px solid #3c7eff;
//       box-shadow: none !important;
//     }
//   }
// }

.el-date-editor {
  border: 1px solid #dee8f9;
  box-shadow: none !important;
  border-radius: 6px !important;

  &:hover {
    border: 1px solid #3c7eff !important;
    box-shadow: none !important;
    border-radius: 6px !important;
  }
}

.el-textarea,
.el-textarea__inner {
  --el-input-hover-border-color: #3c7eff !important;
  color: #375275 !important;
}

.el-textarea {
  --el-input-border-color: #dee8f9 !important;
}

.btn-color {
  &:hover {
    background-color: lighten(#3c7eff, 10%) !important;
  }

  &:active {
    background-color: darken(#3c7eff, 10%) !important;
  }
}

.white_btn_hover_color {
  &:hover {
    background-color: lighten(#3c7eff, 30%) !important;
  }

  // &:active {
  //   background-color: darken(#3C7EFF, 2%) !important;
  // }
}

.btn-color-green {
  &:hover {
    background-color: lighten(#00c2a7, 3%) !important;
  }

  &:active {
    background-color: darken(#00c2a7, 10%) !important;
  }
}

.btn-border-color {
  &:hover {
    border-color: lighten(#3c7eff, 10%) !important;
  }

  &:active {
    border-color: darken(#3c7eff, 10%) !important;
  }
}

.btn-disabled {
  cursor: not-allowed !important;
  background-color: lighten(#3c7eff, 20%) !important;
}

tr:hover > td {
  background-color: #f4f9ff !important;
}

td > .cell,
th > .cell {
  padding-left: 24px !important;
}

th {
  background: #fbfcfe !important;
}

.el-message {
  top: 20px !important;
  left: calc(50vw + 120px) !important;
  padding: 9px 20px 9px 13px !important;
  background-color: #fff !important;
  box-shadow: 0px 0px 16px 0px rgba(55, 82, 117, 0.2);
  border-radius: 4px !important;
  border: none !important;
  // border: 10px red solid !important;
  // transform: translate(-50%, -50%) !important;

  .el-message__content {
    // color: #375275 !important;
    font-size: 14px !important;
  }

  .el-message-icon--success {
    color: #00c2a7 !important;
  }
}

@media screen and (max-width: 650px) {
  .el-message {
    // top: 50% !important;
    width: max-content !important;
    left: 50vw !important;
    padding: 9px 20px 9px 13px !important;
    background-color: #fff !important;
    box-shadow: 0px 0px 16px 0px rgba(55, 82, 117, 0.2);
    border-radius: 4px !important;
    border: none !important;
    // border: 10px red solid !important;
    // transform: translate(-50%, -50%) !important;
  }

  .el-dialog {
    --el-dialog-margin-top: 35vh !important;
  }

  .qiandao_tk {
    .el-dialog {
      --el-dialog-margin-top: 60% !important;
    }
  }
}

.el-dialog__header,
.el-dialog__title {
  font-size: 16px !important;

  font-weight: 500;
  color: #375275 !important;
}

.el-dialog__header {
  padding-top: 24px !important;
}

.el-form-item__label {
  color: #375275 !important;
  font-size: 14px !important;
}

.el-button--primary {
  --el-button-bg-color: #3c7eff !important;
}

::placeholder {
  color: #8c9ba8 !important;
  font-size: 14px;
}

.el-input__inner {
  color: #375275 !important;
}

@media screen and (max-width: 650px) {
  .el-form-item__label {
    font-size: 18px !important;
  }

  ::placeholder {
    font-size: 18px;
  }
}

.confirmButtonClass {
  background-color: #3c7eff !important;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: Arial, sans-serif, Microsoft YaHei;
  margin: 0;
}

.logo-name {
  font-weight: bold;
  background: -webkit-linear-gradient(45deg, blue, red); /* Chrome, Safari */
  background: linear-gradient(45deg, blue, red); /* 标准语法 */
  -webkit-background-clip: text; /* Chrome, Safari */
  background-clip: text;
  -webkit-text-fill-color: transparent; /* Chrome, Safari */
  color: transparent;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: transparent;
}
/*定义滑块
内阴影+圆角*/
/*  鼠标hover的时候才显示滚动条 */
:hover::-webkit-scrollbar-thumb {
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: rgba(0, 0, 0, 0.2);
}
